package com.example.mygame.model;

import lombok.Data;

import java.util.List;

@Data
public class BackupTask {
    String name;
    String type;
    String startTime;
    String endTime;
    int isUpdate;
    int status;
    List<BackupTaskDetail> list;

    public List<BackupTaskDetail> getList() {
        return list;
    }

    public String getName() {
        return name;
    }

    public String getType() {
        return type;
    }

    public String getStartTime() {
        return startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public int getIsUpdate() {
        return isUpdate;
    }

    public int getStatus() {
        return status;
    }

    public void setList(List<BackupTaskDetail> list) {
        this.list = list;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setType(String type) {
        this.type = type;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public void setIsUpdate(int isUpdate) {
        this.isUpdate = isUpdate;
    }

    public void setStatus(int status) {
        this.status = status;
    }
}
